import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
axios.defaults.baseURL='http://127.0.0.1:3000'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)

import Myheader from './components/MyHeader.vue'
import Myfooter from './components/Myfooter.vue'


Vue.prototype.axios=axios
Vue.component("my-header",Myheader)
Vue.component("my-footer",Myfooter)
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
